import requests

my_ression=requests.session()
res1=my_ression.get(url="http://hmshop-test.itheima.net/index.php?m=Home&c=User&a=verify&r=0.6103932247909621")

res2=my_ression.post(url="https://hmshop-test.itheima.net/index.php?m=Home&c=User&a=do_login&t=0.8745747375417874",
                   headers={"content-type":"application/x-www-form-urlencoded"},
                   data={"username":"17367072500","password":"123456","verify_code":"8888"}
                   )
print("登录成功："+res2.text)
res3=my_ression.get(url="http://hmshop-test.itheima.net/Home/Order/order_list.html"

             )
print("查询订单："+res3.text)

